package com.yc.upload;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "yc.upload")
public class UploadProperties {

    private String diskpath;
    private String webpath;

    public String getDiskpath() {
        return diskpath;
    }

    public void setDiskpath(String diskpath) {
        this.diskpath = diskpath;
    }

    public String getWebpath() {
        return webpath;
    }

    public void setWebpath(String webpath) {
        this.webpath = webpath;
    }
}
